package com.gsy.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import com.gsy.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author gsy
 * @since 2022-03-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_read")
@ApiModel(value="ReadEntity对象", description="")
public class ReadEntity extends BaseEntity {


    @TableId(value = "r_id", type = IdType.AUTO)
    private Integer rId;

    private Integer uId;

    private Integer nId;

    @ApiModelProperty(name = "已读时间", value = "已读时间", dataType = "Date", example = "已读时间")
    @TableField(fill = FieldFill.INSERT)
    private Date readtime;


}
